hotplug-common: Do not adjust LD_LIBRARY_PATH
authorIan Jackson <ian.jackson@citrix.com>
Thu, 21 Feb 2019 16:05:40 +0000 (16:05 +0000)
committerMaximilian Engelhardt <maxi@daemonizer.de>
Thu, 23 Mar 2023 21:26:15 +0000 (22:26 +0100)
commite444cdd4ce907e99255cb0c04b8911f250721785
tree2c8d516d5c0d7de8b78aff8197a37a22ceacc78c
parentfa5cdf1276a7d1d646795dd44c1a58a4b75271d8
hotplug-common: Do not adjust LD_LIBRARY_PATH

This is in the upstream script because on non-Debian systems, the
default install locations in /usr/local/lib might not be on the linker
path, and as a result the hotplug scripts would break.

A reason we might need it in Debian is our multiple version
coinstallation scheme.  However, the hotplug scripts all call the
utilities via the wrappers, and the binaries are configured to load
from the right place anyway.

This setting is an annoyance because it requires libdir, which is an
arch-specific path but comes from a file we want to put in
xen-utils-common, an arch:all package.

So drop this setting.

Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
tools/hotplug/Linux/xen-hotplug-common.sh.in